package com.jincp.common.http;

/**
 * =========================================================
 * @ProjectName: 回调接口
 * @ClassName: IHttpCallback
 * @Description:
 * @Author: jincp
 * @CreateDate: 2019/9/3 11:51
 * =========================================================
 */
public interface IHttpCallback {

    void onResponseSuccess(int code, String result);

    void onResponseFailure(int code, String errorMessage);

    void update(long currentLength, long totalLength, boolean done);
}
